package cn.lbwfree.day3_16;

import java.util.Scanner;

/**
 * @date:2020年3月16日
 * @author:lbwfree
 */
public class Year {
	public static void main(String[] args) {
		Scanner inScanner=new Scanner(System.in);
		int year=inScanner.nextInt();
		if(year>=1990&&year<=2050)
		{
			if(((year%4==0)&&(year%100!=0))||(year%400==0))
			{
				System.out.println("yes");
			}
			else
			{
				System.out.println("no");
			}
		}
		
	}
}
